/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 勋章表
 * @author ppc
 */
@Entity(tableName="ac_club_medal")
public class ClubMedal {
    @Id
    @Column(name="medal_id")
    private long medalId;
    /** 勋章名称 **/
    @Column(name="name")
    private String name;
    /** 勋章URL **/
    @Column(name="url")
    private String url;
    /** 创建时间 **/
    @Column(name="create_at")
    private Date createAt;
    /** 更新时间 **/
    @Column(name="update_at")
    private Date updateAt;
    /** 创建人 **/
    @Column(name="create_by")
    private long createBy;

    public long getMedalId() {
        return medalId;
    }

    public String getName() {
        return name;
    }

    public String getUrl() {
        return url;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public long getCreateBy() {
        return createBy;
    }

    public void setMedalId(long medalId) {
        this.medalId = medalId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public void setCreateBy(long createBy) {
        this.createBy = createBy;
    }
    
}
